package com.example.sdemo.domain.entity;

import java.beans.Transient;
import java.util.List;

public class Student  {
    private int studentId;
    private String studentName;

    private List<Score> scoreList;

    private List<Course> courseList;

    public List<Score> getScoreList() {
        return scoreList;
    }

    public void setScoreList(List<Score> scoreList) {
        this.scoreList = scoreList;
    }

    public List<Course> getCourseList() {
        return courseList;
    }

    public void setCourseList(List<Course> courseList) {
        this.courseList = courseList;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", scoreList=" + scoreList + "\n"+
                ", courseList=" + courseList + "\n"+
                '}';
    }
}
